package user;

import java.util.Scanner;
import java.util.WeakHashMap;

public class NormalUser extends User{
    Scanner scanner=new Scanner(System.in);
    public NormalUser(String name, int userID, String role) {
        super(name, userID, "普通用户");
    }

    @Override
    public int dispaly() {
        System.out.println("普通用户"+name+"的操作菜单：");
        System.out.println("1.查找图书");
        System.out.println("2.打印所有图书");
        System.out.println("3.退出系统");
        System.out.println("4.借阅图书");
        System.out.println("5.归还图书");
        System.out.println("6.查看当前个人借阅情况");
        System.out.println("请选择你的操作：");
        return scanner.nextInt();
    }
    public void borrowBook(){

    }
    //归还图书
    public void returnBook(){

    }
    //查看个人借阅情况
    public void viewBorrowHistory(){

    }
}
